package com.it.bigdata.util;

import org.junit.Before;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
import redis.clients.jedis.JedisPoolConfig;

public class HttpJedis {
    private static final JedisPool jedisPool=new JedisPool("node1",6379);

    public static Jedis getCon(){

        return jedisPool.getResource();
    }
}
